package com.room.search.service.dto;

import javax.validation.constraints.NotNull;

/**
 * By   : ghd.bright
 * Time : 2022/5/5
 * Description: 关注房源DTO
 */
public class FocusGoodsDTO {


    @NotNull
    private Long userId;

    @NotNull
    private Long goodId;

    public Long getUserId() {
        return userId;
    }

    public FocusGoodsDTO setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    public Long getGoodId() {
        return goodId;
    }

    public FocusGoodsDTO setGoodId(Long goodId) {
        this.goodId = goodId;
        return this;
    }

    @Override
    public String toString() {
        return "FocusGoodsDTO{" +
            "userId=" + userId +
            ", GoodId=" + goodId +
            '}';
    }
}
